package exam_practice;

public class B extends A implements I2
{

	public void methodI2() {
		System.out.println("methodI2() of class B");
		}
		public String foo() {
		String strB = "foo() of class B";
		return strB;
		}
		public String toString() {
		return "toString() of class B";
		}

}
